package com.lapian.designmode.flyweight.test.test_f;

/**
 * 创建日期：2022/5/24 0024 15:36
 *
 * @author tony.sun
 * 类说明：
 */
public class ConcreteRoleF extends Father{
    private String type;

    public ConcreteRoleF(String type) {
        this.type = type;
    }

    @Override
    void user(User user) {
        System.out.println(user.name+"使用了"+type+"的魂技");
    }
}
